package com.neusoft.hibernate.bean;

import java.util.Set;

public class ClassBean {
	private Long id;
	private String info;
	
	/* 单向一对多成员变量 */
	private Set<StudentBean> students;
	
	public ClassBean() {
		super();
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public Set<StudentBean> getStudents() {
		return students;
	}
	public void setStudents(Set<StudentBean> students) {
		this.students = students;
	}
		
}
